//获取任务列表
export const getTaskList = `
query($page:Int,$status:Int,$staff_id:Int) {
  getTaskList(page:$page,status:$status,staff_id:$staff_id) {
      total
      lastpage
      list{
          id
          order_sn
          delivery_address
          delivery_time
          cart_code
          driver_name
          driver_mobile
          des
          status
          subscribe_id
          status_name
          staff_name
          is_show
          fuli_nums
          qrcode
          starttime
          endtime
          longitude
          latitude
          log_list{
              id
              title
              desc
          }
      }
  }
}`;
//预约单列表
export const getSubscribeLog = `
query($page:Int,$delivery_id:Int) {
getSubscribeLog(page:$page,delivery_id:$delivery_id) {
    list{
        id
        order_sn
        address
        deliverytime
        cart_code
        driver_name
        driver_mobile
        fuli_nums
        longitude
        latitude
        is_show
        log_list{
            id
            title
            desc
        }
        status_text
    }
    total
    lastpage
  }
}`;
//获取可转单成员
export const getStaffList = `
query($staff_id:Int,$delivery_id:Int) {
getStaffList(staff_id:$staff_id,delivery_id:$delivery_id) {
    id
    name
  }
}`;
//获取任务详情
export const getTaskInfo = `
query($id:Int,$zhuan_id:Int) {
getTaskInfo(id:$id,zhuan_id:$zhuan_id) {
    id
    order_sn
    delivery_address
    delivery_time
    cart_code
    driver_name
    driver_mobile
    des
    status
    fuli_nums
    status_name
    staff_name
    longitude
    latitude
  }
}`;
//显示本次需要带的所有福利
export const getSubscribeCartAll = `
query($staff_id:Int) {
  getSubscribeCartAll(staff_id:$staff_id) {
    list{
      goods_id  
      nums
      goods_name
      goods_score
      goods_price
      goods_image
  }
  nums
  score
  money
  recharge_money
  }
}`;